package com.easylinkin.linkappapi.grid.models.dto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import org.hibernate.annotations.OnDelete;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.time.LocalDateTime;
import java.util.Date;

/**
 * @author linWenLe
 * @Date: 2024/4/8
 * @Description:    二维码使用记录表
 */
@Data
public class GridQrCodeRelationDTO {

    @NotNull(message = "二维码ID不能为空")
    private Integer id;
    /**
     * 网格id
     */
    @NotBlank(message = "网格ID不能为空")
    private String gridId;

}
